<script type="text/javascript" src="${base}/scripts/kcgl/cksh_content.js"></script>
<form id="ckshForm" method="post" class="easyui-tabs" fit="true">
    <input id="cksh_xsd_id" name="xsd.id" type="hidden" value="${(xsd.id)!''}"/>
    <input type="hidden" id="xsd_zgjgId" value="${(gsId)!}"/>
    <input type="hidden" id="xsd_zggsId" value="${(zggsId)!}"/>

    <div title="销售信息" style="height: 100%;overflow-y: auto">
        <table style="width:98%" class="tb tab-t t-bor">
            <col width="70px"/>
            <col width=""/>
            <col width="70px"/>
            <col width=""/>
            <col width="70px"/>
            <col width=""/>
            <tr>
                <th style="font-size:12px;font-weight:bold">
                    编&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：
                </th>
                <td style="font-size:12px;font-weight:bold" colspan="5">
                    <span>
                    ${(xsd.xsdh)!}
                    </span>
                </td>
            </tr>
            <tr>
                <th style="font-size:12px;font-weight:bold">路&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;径：</th>
                <td colspan="5" style="font-size:12px;font-weight:bold">
                    <span style="font-size:12px;font-weight:bold">
                    ${(xsd.lj.mc)!}
                    </span>
                </td>
            </tr>
            <tr>
                <th style="font-size:12px;font-weight:bold">销售合同：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.xsht.htbm)!}
                </td>
                <th style="font-size:12px;font-weight:bold">销售类型：</th>
                <td style="font-size:12px;font-weight:bold">
                <#if xsd??><#if xsd.xslx=='htxs'>合同销售<#elseif xsd.xslx=='zddh'>直达到货<#else>库存零售</#if><#else>库存零售</#if>
                </td>

                <th style="font-size:12px;font-weight:bold">客&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;户：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.kh.jc)!}
                </td>
            </tr>
            <tr>
                <th style="font-size:12px;font-weight:bold">工&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;程：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.gc.mc)!}
                </td>
                <th style="font-size:12px;font-weight:bold">提货仓库：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.thck.mc)!}
                </td >
                <th style="font-size:12px;font-weight:bold">开单日期：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.sxsj?date)!}
                </td>
            </tr>
            <tr>
                <th style="font-size:12px;font-weight:bold">发货时间：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.fhsj?date)!}
                </td>
                <th style="font-size:12px;font-weight:bold">税率(%)：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.sl)!}
                </td>
            </tr>
            <tr>
                <th style="font-size:12px;font-weight:bold">发运责任：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.fyzr.z)!}
                </td>
                <th style="font-size:12px;font-weight:bold">代收费用：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.dsyfje)!}
                </td>
                <th style="font-size:12px;font-weight:bold">提&nbsp;货&nbsp;&nbsp;人：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.thr)!}
                </td>
            </tr>
            <tr>
                <th style="font-size:12px;font-weight:bold">交货时间：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.jhsj?date)!}
                </td>
                <th style="font-size:12px;font-weight:bold">送货地址：</th>
                <td style="font-size:12px;font-weight:bold" colspan="3">
                ${(xsd.jhdz)!}
                </td>

            </tr>
            <tr>
                <th style="font-size:12px;font-weight:bold">收&nbsp;货&nbsp;&nbsp;人：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.shry)!}
                </td>
                <th style="font-size:12px;font-weight:bold">联系电话：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.shrdh)!}
                </td>
                <th style="font-size:12px;font-weight:bold">交货要求：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.jhyq)!}
                </td>
            </tr>
            <tr>
                <th style="font-size:12px;font-weight:bold">申报公司：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.sbgs.jc)!}
                </td>
                <th style="font-size:12px;font-weight:bold">申报部门：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.sbbm.qc)!}
                </td>
                <th style="font-size:12px;font-weight:bold">申&nbsp;报&nbsp;&nbsp;人：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.sbr.xm)!}
                </td>
            </tr>
            <tr>
                <th style="font-size:12px;font-weight:bold">销售公司：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.xsgs.jc)!}
                </td>
                <th style="font-size:12px;font-weight:bold">协办公司：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.xbgs.qc)!}
                </td>
                <th style="font-size:12px;font-weight:bold">协办部门：</th>
                <td style="font-size:12px;font-weight:bold">
                ${(xsd.xbbm.qc)!}
                </td>
            </tr>
            <tr>
                <th style="font-size:12px;font-weight:bold">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</th>
                <td style="font-size:12px;font-weight:bold" colspan="5">
                ${(xsd.bz)!}
                </td>
            </tr>
        </table>
    </div>
    <div title="销售明细">
        <div id="cksh_xsdmx_toolbar">
            <div class="PTools">
                <ul class="niu">
                <#--                    <li><a name="xzxsdmx" href="javascript:void(0);" plain="true">新增销售明细</a></li>
                    <li><a name="scxsdmx" href="javascript:void(0);" class="del" plain="true">删除销售明细</a></li>-->
                </ul>
            </div>
        </div>
        <table id="cksh_mx">
        </table>
    </div>
</form>